package top.yxf.gulimall.product.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import top.yxf.gulimall.product.entity.BrandEntity;
import top.yxf.gulimall.product.entity.CategoryBrandRelationEntity;

import java.util.List;

public interface CategoryBrandRelationService {

    List<CategoryBrandRelationEntity> list(Long brandId);

    void saveDetail(CategoryBrandRelationEntity categoryBrandRelationEntity);

    void updateBrand(Long brandId, String name);

    void updateCategory(Long catId, String name);

    List<BrandEntity> getBrandsByCatId(Long catId);
}
